<?php

namespace Common\Bundle\LibraryBundle\Validator;

use Symfony\Component\Validator\Constraint;

/**
 * @Annotation
 */
class MinBonneReponse extends Constraint{

    public $message = '%message%';
    public $entity;
    public $property;

    public function validatedBy()
    {
        return "minbonnereponse_validator";
    }

    public function requiredOptions()
    {
        return array('entity', 'property');
    }

    public function getTargets()
    {
        return self::CLASS_CONSTRAINT;
    }
}